//
//  SetLockView.h
//  QRMaster
//
//  Created by myApple on 15/5/5.
//  Copyright (c) 2015年 myApple. All rights reserved.
//

#import <UIKit/UIKit.h>

@class SetLockView;
@protocol SetLockViewDelegate <NSObject>

-(void)sendToStartPageControle:(UIViewController *)vc;

/**
 *  当前的卡的类型
 *
 *  @param typeName 类型名称
 */
-(void)nowAuthorType:(NSString *)typeName;

/**
 *  此集群没有房间（不能点击授权）
 */
-(void)noRoomInCommunity;

@end

@interface SetLockView : UIView

@property(nonatomic,copy)NSString * communityId;

//-(id)initwithCommunityId:(NSString *)communityId frame:(CGRect)frame;

@property(nonatomic,assign)id<SetLockViewDelegate>delegate;

/**
 *  改变类型
 */
-(void)changeAuthorType;

@end
